﻿using System;

namespace PlanB.ShareDove.ConferenceOrganization.BusinessLayer.DataLayerInterface.Entities
{

    /// <summary>
    /// Class which defines Session rating - rating of the session by a single user.
    /// </summary>
    public class ConferenceSessionRating : ConferenceBaseEntity
    {
        /// <summary>
        /// SessionParticipation (user participating at the session) for which the answer was given
        /// </summary>
        public ConferenceSessionParticipation SessionParticipation { get; set; }

        /// <summary>
        /// Question which was answered
        /// </summary>
        public ConferenceRatingQuestion Question { get; set; }

        /// <summary>
        /// Speaker whom the question was concerning, if the question is speaker-specific
        /// </summary>
        public ConferenceParticipant Speaker { get; set; }

        /// <summary>
        /// Overal answer rating (1-5)
        /// 1 - worst
        /// 5 - best
        /// </summary>
        public int Rating { get; set; }

        /// <summary>
        /// Descriptive answer for the given question
        /// </summary>
        public string Comment { get; set; }
    }
}
